package com.qq.client.model;

import com.qq.client.view.QqChat;

import java.util.concurrent.ConcurrentHashMap;

public class ManageQqChat {
    private static ConcurrentHashMap<String, QqChat> hm = new ConcurrentHashMap<>();
    public static void setQqChat(String ownerNoAndFriendNo,QqChat qqChat){
        hm.put(ownerNoAndFriendNo,qqChat);
    }
    public static QqChat getQqChat(String ownerNoAndFriendNo){
       return hm.get(ownerNoAndFriendNo);
    }
}
